 <div class="row">
		<h4 class="border-bottom title"><strong>News</strong></h4>
        
        

        <?php 

        foreach ($this->Feed->getTopics($this->User->id()) as $value)
        {
        $user =  $this->User->AllInfo($value['topics']['topic_user_id']);
        ?>       
        
        
        
        <div class="col-lg-12 box-feed">

			<div class="media">
			  
              <button class=" pull-left" data-toggle="popover" title=""
                 data-placement="left"
                 data-content="10 seguidores" 
                 data-original-title="<?php echo $user['first_name'] ?>">
                  
			    <img class="media-object img-circle-feed shadow" 
                     src="/img/users/<?php echo $user['photo'] ?>">
			  </button>
			  <div class="media-body shadow" >
			  	<h3 class="panel-title">
                    <a href="/!<?php echo $value['cmm']['community_url'] . '/' . $value['topics']['topic_url'] ?>" > 
                        <strong> <?php echo $value['topics']['topic_name'] ?></strong>  
                        <p><small><?php echo $value['cmm']['community_name'] ?> </small></p>
                    </a>
                </h3>
				<div class="content-feed-box margintop">
				<?php echo $value['posts']['topic_description'] ?>
                
                <!--<p><a href="#" class="" > ver tudo </a></p>-->
                </div>
			    <!-- Nested media object -->
			    <div class="panel-footer">
			    	<ul class="media-list comment-feed"> 
                      <?php                                
                      
                      foreach ($this->Feed->getPosts($value['topics']['topic_id']) as $post)
                      { //print_r($post);
                          $user_comment =  $this->User->AllInfo($post['posts']['user_id']);
                      ?>              
					  <li class="media">
					    <a class="pull-left" href="#">
					      <img class="media-object" src="/img/users/<?php echo $user_comment['photo'] ?>" width="30px" height="30">
					    </a>
					    <div class="media-body">
                            <a href="/@<?php echo $user_comment['username'] ?>"><strong><?php echo $user_comment['first_name'] ?></strong></a>
					      <?php echo $post['posts']['post_description']; ?>
					    </div>
					  </li>
                      <?php } ?>
                      
                      <li class="media">
					    <a class="pull-left" href="#">
					      <img class="media-object" src="/img/users/<?php echo $this->User->Photo() ?>" width="30px" height="30">
					    </a>
					    <div class="media-body">
                            <input type="text" placeholder="Contribua">
					    </div>
					  </li>
					   
					</ul>

			    </div>
			  </div>
			</div>
		</div>
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        <?php } ?>
        
        
	<!--	<div class="col-lg-12 box-feed">

			<div class="media">
			  <a class="pull-left" href="#">
			    <img class="media-object img-circle-feed shadow" src="/img/usuario01.jpg">
			  </a>
			  <div class="media-body shadow" >
			  	
				<h3 class="panel-title"><strong>Grande Vitória </strong>  <p><small>Todo Poderoso Timão</small></p></h3>
				<div class="imgs-feeds">
					<img src="/img/timao.jpg" />
				</div>
				<div class="content-feed-box">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pellentesque turpis diam, ac vehicula nisl iaculis nec. Fusce dictum venenatis vehicula. Duis in auctor erat. Donec a semper augue. Fusce arcu felis, tincidunt vitae orci cursus, interdum hendrerit turpis. Duis lobortis volutpat sollicitudin. Donec aliquam malesuada odio nec aliquet. Aliquam rhoncus semper libero vitae consectetur. In suscipit iaculis est eget accumsan. Vivamus adipiscing, erat ac vulputate auctor, massa velit pretium nisi, in aliquam metus augue eget turpis. Morbi sed orci non turpis accumsan molestie. Proin hendrerit felis sit amet nunc suscipit, non pretium augue vehicula. In consequat posuere erat sed sodales. Duis condimentum facilisis hendrerit.

				</div>
			    <!-- Nested media object -->
			   <!-- <div class="panel-footer">
			    	<ul class="media-list">
					  <li class="media">
					    <a class="pull-left" href="#">
					      <img class="media-object" src="/img/user2.jpg" width="30px" height="30">
					    </a>
					    <div class="media-body ">
					      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pellentesque turpis diam, ac vehicula nisl iaculis nec. Fusce dictum venenatis vehicula.
					    </div>
					  </li>
					  <li> Comentar </li>
					</ul>

			    </div>
			  </div>
			</div>
		</div> -->



</div>